package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.ClientResourcePool;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface ClientResourcePoolMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ClientResourcePool record);

    ClientResourcePool selectByPrimaryKey(Long id);

    List<ClientResourcePool> selectAll();

    int updateByPrimaryKey(ClientResourcePool record);

    /**
     * 分页
     * @param qo 查询参数
     */
    int queryForCount(QueryObject qo);

    List<ClientResourcePool> queryForList(QueryObject qo);
}